package com.appspot.dco.client.navigation;

import com.appspot.dco.client.Presenter;

/**
 * PageId associated to a {@link Presenter} instance.
 * 
 * @author dco
 * 
 */
public final class PageId {

	private String id;
	private String name;
	private String title;

	public PageId(String id) {
		this.id = id;
	}

	public PageId(String id, String name, String title) {
		this.id = id;
		this.name = name;
		this.title = title;
	}

	@Override
	public String toString() {
		StringBuilder toString = new StringBuilder(this.id);
		toString.append("-").append(this.name);
		return toString.toString();
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

}
